#define  _CRT_SECURE_NO_WARNINGS

#include"priority_queue.h"

int main()
{
	//bit::priority_queue<int> pq;
	//pq.push(7);
	//pq.push(3);
	//pq.push(9);
	//pq.push(2);
	//pq.push(1);

	vector<int> v = { 10,6,4,9,28,33 };
	bit::priority_queue<int> pq(v.begin(),v.end());
	pq.push(7);
	pq.push(3);
	pq.push(9);
	pq.push(2);
	pq.push(1);
	while (!pq.empty())
	{
		cout << pq.top() << " ";
		pq.pop();
	}
	cout << endl;

	return 0;
}